package com.quanyan.financialSystem.util;

/**
 * Created by Administrator on 2016/11/7.
 */
public class DateStringUtils {

    private static final String DateTime_Start_Suffix = " 00:00:00";
    private static final String DateTime_End_Suffix = " 23:59:59";

    /**
     * 获取当天凌晨时间
     * @param dateStr
     * @return
     */
    public static String getDateTime_Start_Suffix(String dateStr){
        if(dateStr != null)
            dateStr = dateStr + DateTime_Start_Suffix;
        return dateStr;
    }


    /**
     * 获取当天最后时间
     * @param dateStr
     * @return
     */
    public static String getDateTime_End_Suffix(String dateStr){
        if(dateStr != null)
            dateStr = dateStr + DateTime_End_Suffix;
        return dateStr;
    }
}
